<!DOCTYPE html>
<html>
<head>
<title>monitor_define_ln</title>
<#include "/sys/header.html"/>
</head>
<body>
<div class="panel panel-default" id="rrapp" v-cloak>
	<div class="panel-heading">{{title}}</div>
	<form class="form-horizontal">
		<div class="form-group">
			<div class="col-sm-2 control-label">监控定义id</div>
			<div class="col-sm-10">
				<input type="text" class="form-control" v-model="monitorDefineLn.defId" placeholder="监控定义id" readonly="readonly"/>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-2 control-label">描述</div>
			<div class="col-sm-10">
				<input type="text" class="form-control" v-model="monitorDefineLn.description" placeholder="描述"/>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-2 control-label">sql</div>
			<div class="col-sm-10">
				<textarea rows="3" class="form-control" v-model="monitorDefineLn.sqlText" placeholder="sql">
				</textarea>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-2 control-label">dbKey</div>
			<div class="col-sm-10">
				<input type="text" class="form-control" v-model="monitorDefineLn.dbKey" placeholder="dbKey"/>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-2 control-label">邮件模板</div>
			<div class="col-sm-10">
				<textarea rows="2" class="form-control" v-model="monitorDefineLn.emailTmpl" placeholder="邮件模板">
				</textarea>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-2 control-label">短信发送阈值属性</div>
			<div class="col-sm-10">
				<input type="text" class="form-control" v-model="monitorDefineLn.smsLimitProp" placeholder="短信发送阈值属性"/>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-2 control-label">短信发送阈值</div>
			<div class="col-sm-10">
				<input type="number" class="form-control" v-model="monitorDefineLn.smsLimitValue" placeholder="短信发送阈值"/>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-2 control-label">短信发送模板</div>
			<div class="col-sm-10">
				<textarea rows="2" class="form-control" v-model="monitorDefineLn.smsTmpl" placeholder="短信发送模板">
				</textarea>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-2 control-label"></div> 
			<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
			&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="back" value="返回"/>
		</div>
	</form>
</div>

<script src="${base}/js/monitor/monitorDefineLn_add.js?_${.now?string['yyyyMMddhhmmSS']}"></script>
</body>
</html>
